package com.david.flowable.service;

import com.david.common.utils.PageResult;
import com.david.flowable.pojo.dto.FlowTaskDTO;
import com.david.flowable.pojo.vo.FlowQueryVO;
import com.david.flowable.pojo.vo.FlowTaskVO;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface FlowTaskService {


    ResponseEntity<Object> complete(FlowTaskVO flowTaskVO);

    PageResult todolist(FlowQueryVO flowQueryVO);

    void reject(FlowTaskVO flowTaskVO);

    List<FlowTaskDTO> records(String procInsId);

    PageResult finishedlist(FlowQueryVO flowQueryVO);

    void revoke(FlowTaskVO flowTaskVO);

    PageResult getMyProcess(FlowQueryVO flowQueryVO) ;

    void stopProcIns(String procInsId);

    void removeProcIns(String procInsId);

    PageResult getCandidateList(FlowQueryVO flowQueryVO);

    String claimTask(String taskId);

    String unclaimTask(String taskId);
}
